HipParticleSystem

2D Particle System

Constructors

this
this(uint maxParticles)
Undocumented in source.

Members

Functions

draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
killParticle
void killParticle(uint id)
Undocumented in source. Be warned that the author may not have intended to support it.
setEmissionZone
void setEmissionZone(int minX, int maxX, int minY, int maxY)
Undocumented in source. Be warned that the author may not have intended to support it.
spawnParticles
void spawnParticles(uint count)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(float dt)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

EmissionZone
struct EmissionZone
Undocumented in source.

Variables

active
uint active;

Particles to iterate

config
HipParticleSystemConfig config;
Undocumented in source.
currentTime
float currentTime;
Undocumented in source.
emissionRate
float emissionRate;

How many particles to spawn per second.

emissionZone
EmissionZone emissionZone;
Undocumented in source.
maxActive
uint maxActive;

Will never spawn more than that value

particles
HipParticle[] particles;
Undocumented in source.
spawnAccumulator
float spawnAccumulator;

Stores how many particles to spawn, accumulates when not integer.

Meta